﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MP3Ganizer.Common.Interfaces.Infrastructure;
using MP3Ganizer.Common.Services.Infrastructure.CommandPanelBuilders;
using MP3Ganizer.BusinessObject.Hierarchy;

namespace MP3Ganizer.Common.Services.Infrastructure
{
    class CommandPanelClientManagerFactory
    {
        private Dictionary<Type, IBuildCommandPanel> _commandPanelByTypes;
        public CommandPanelClientManagerFactory()
        {
            _commandPanelByTypes = new Dictionary<Type, IBuildCommandPanel>();

            FillCommandPanelByTypes();


        }

        private void FillCommandPanelByTypes()
        {
            _commandPanelByTypes.Add(typeof(FolderModel), new FolderModelCommandPanelBuilder());

        }
        internal bool TryToGetBuilder(object value, out IBuildCommandPanel builder)
        {
            throw new NotImplementedException();
        }
    }
}
